package com.joker.orange.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.joker.common.annotation.ExcelDictFormat;
import com.joker.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 升级配置视图对象 t_app_upgrade
 *
 * @author Joker
 * @date 2024-07-08
 */
@Data
@ExcelIgnoreUnannotated
public class AppUpgradeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ExcelProperty(value = "唯一标识")
    private Long id;

    /**
     * 版本号
     */
    @ExcelProperty(value = "版本号")
    private String versionNo;

    /**
     * 下载链接
     */
    @ExcelProperty(value = "下载链接")
    private String downloadUrl;

    /**
     * 升级介绍
     */
    @ExcelProperty(value = "升级介绍")
    private String upgradeIntroduction;

    /**
     * 是否强制更新（0-是、1-否）
     */
    @ExcelProperty(value = "是否强制更新", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-是、1-否")
    private String forceUpdate;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;


}
